
export function containsIgnoreCase(sourceString, searchString){

  return contains(toUpper(sourceString), toUpper(searchString))

}

export function toUpper(sourceString){

  if(!sourceString){
    return sourceString
  }

  return sourceString.toUpperCase()
}



export function contains(sourceString, searchString){
  if(!sourceString || !searchString){
    return false
  }

  return sourceString.indexOf(searchString) !== -1
}
